Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

318
Views
El script Bash que usa el comando whois obtiene el error "Nombre de servidor no compatible..." en la ventana acoplable

Es mi primera imagen de Docker, puse allí mi propio script bash. Este script usa el comando whois . Después de que Docker ejecuta mi script, tengo algunos errores. Probablemente cometí un error en mi dockerfile. El script funciona bien en mi ubuntu. ¿Debo agregar el /etc/services a mi imagen?

archivo acoplable:

 FROM ubuntu ADD ./ip_info /usr/src/ip_info ADD ./ip_info /bin/ip_info RUN apt-get update && apt-get -y install whois RUN chmod +x /usr/src/ip_info CMD ["/usr/src/ip_info"]

error:

 getaddrinfo(whois.ripe.net): Servname not supported for ai_socktype
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

lo arreglé por

 RUN apt-get update && apt-get install -y --no-install-recommends ntp

al archivo acoplable.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!